"""
查看线索页面类
"""
from ..base_page import BasePage
from selenium.webdriver.common.by import By


class ClueInformationPage(BasePage):
    #数据
    url="/crm/index.php?m=leads&a=view&id=6"
    #定位器
    del_clue_locator = (By.LINK_TEXT, "删除")
    return_locator = (By.LINK_TEXT, "返回")
    #方法
    def del_clue(self):
        self.click(self.del_clue_locator)
    def return_clue(self):
        self.click(self.return_locator)